<template>
  <div class="container">
    <nav-bar :title="$route.query.type==1?'微信收款二维码':'支付宝收款二维码'" fixed />
    <div class="img"><img :src="$route.query.img" alt=""></div>
  </div>
</template>

<script>
  export default {
    data() {
      return {};
    }
  };
</script>
<style lang="less" scoped>
  .img {
    width: 100%;
    height: auto;
    // display: flex;
    // justify-content: center;

    img {
      max-width: 100%;
      max-height: 100%;
    }
  }
</style>